package com.huidu.bitrade.constant;

import com.fasterxml.jackson.annotation.JsonValue;
import com.huidu.bitrade.core.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author QQ：97095646
 * @date 2020年01月10日
 */
@AllArgsConstructor
@Getter
public enum ProhibitType implements BaseEnum {
    RECHARGE( "充值"),
    WITHDRAW( "提现"),
    OTC( "otc提现");


    private String name;

    @Override
    @JsonValue
    public int getOrdinal() {
        return this.ordinal();
    }
}
